import { S } from '../../s';
import { IPSDEOPPriv } from './ipsdeoppriv';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEOPPrivImpl extends PSModelObjectImpl implements IPSDEOPPriv {
  get logicName(): string {
    return this.M.logicName;
  }

  get mapPSDEName(): string {
    return this.M.mapPSDEName;
  }

  get mapPSDEOPPrivName(): string {
    return this.M.mapPSDEOPPrivName;
  }

  get mapSysUniResCode(): string {
    return this.M.mapSysUniResCode;
  }

  get mapSysUniRes(): boolean {
    return this.M.mapSysUniRes != null ? this.M.mapSysUniRes : false;
  }

  get systemReserved(): boolean {
    return this.M.systemReserved != null ? this.M.systemReserved : false;
  }
  get cls(): string {
    return 'PSDEOPPrivImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._270) return true;
    return super.instanceof(cls);
  }
}
